#ifndef WIDGET_H
#define WIDGET_H
#include "jiyifanpai.h"
#include <QWidget>
#include "begin.h"
#include "end.h"
namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
    void mousePressEvent(QMouseEvent *event);
    void paintEvent(QPaintEvent* event);

private:
    Ui::Widget *ui;
    QPainter* pMap;
    jiyifanpai* pJiyi;
};

#endif // WIDGET_H
